#include"list.h"
int main()
{
	hu::list<int> lt;
	lt.push_front(2);
	lt.push_front(2);
	lt.push_front(2);
	lt.push_front(2);
	lt.push_front(3);
	lt.push_front(2);
	lt.push_front(3);
	lt.push_front(3);
	lt.push_front(3);
	lt.push_front(3);

	lt.push_back(2);
	lt.print();
	printf("\n");
	hu::list<int> list(lt);
	list.pop_back();
	list.pop_back();
	list.pop_back();
	list.print();
	printf("\n");

	list.swap(lt);
	list = lt;
	list.print();
	return 0;
}